<?php
require 'config.php';
ob_start();
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="zh-cn" xmlns="http://www.w33.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
	<title>旧衣物回收</title>
	<link rel="stylesheet" type="text/css" href="css/lib.css" charset=utf-8>
	
</head>

<body>
	<div class="index-content">
		<div class="index-middle">
			<dl class="index-list">
				<dt>热门</dt>
				<dd>
					<a href="searchall.php?" rel="" name="hot" class="all on">不限</a>
					<?php
					require 'config.php';
					$sql = "SELECT * FROM hotsearch ORDER BY searchid DESC" ;
					$result = mysqli_query($config,$sql) or die('SQL语句有误:'.mysqli_error());
					$i=0;
					while($i++<7 && $row=mysqli_fetch_array($result)){
						?>
						<a href="search.php?search=<?php echo $row['searchname']?>">
							<?php echo $row['searchname'] ?></a>
						<?php }?>
				</dd>
			</dl>
<!-- 春秋装 -->
			<dl class="index-list">
				<dt>春秋装</dt>
				<dd>
					<a href="show_lib.php? actbig=1" rel="" name="chunqiuzhuang" class="all on">不限</a>
					<a href="show_lib.php? act=1" rel="卫衣" name="weiyi" class="default">卫衣</a>
					<a href="show_lib.php? act=2" rel="长袖" name="changxiu" class="default">长袖</a>
					<a href="show_lib.php? act=3" rel="夹克" name="jiake" class="default">夹克</a>
					<a href="show_lib.php? act=4" rel="外套" name="waitao" class="default">外套</a>
					<a href="show_lib.php? act=5" rel="衬衫" name="chenshan" class="default">衬衫</a>
					<a href="show_lib.php? act=6" rel="休闲裤" name="xiuxianku" class="default">休闲裤</a>
					<a href="show_lib.php? act=7" rel="牛仔裤" name="niuzaiku" class="default">牛仔裤</a>
					<a href="show_lib.php? act=8" rel="其他" name="qita" class="default">其他</a>
				</dd>
			</dl>
<!-- 夏装 -->
			<dl class="index-list">
				<dt>夏装</dt>
				<dd>
					<a href="show_lib.php? actbig=2" rel="" name="summer wear" class="all on">不限</a>
					<a href="show_lib.php? act=11" rel="短裤" name="duanku" class="default">短裤</a>
					<a href="show_lib.php? act=12" rel="短袖" name="duanxiu" class="default">短袖</a>
					<a href="show_lib.php? act=13" rel="裙子" name="qunzi" class="default">裙子</a>
					<a href="show_lib.php? act=14" rel="衬衫" name="chenshan" class="default">衬衫</a>
					<a href="show_lib.php? act=15" rel="休闲裤" name="xiuxianku" class="default">休闲裤</a>
					<a href="show_lib.php? act=16" rel="牛仔裤" name="niuzaiku" class="default">牛仔裤</a>
					<a href="show_lib.php? act=17" rel="运动裤" name="yundongku" class="default">运动裤</a>
					<a href="show_lib.php? act=18" rel="其他" name="qita" class="default">其他</a>
				</dd>
			</dl>
<!-- 冬装 -->

			<dl class="index-list">
				<dt>冬装</dt>
				<dd>
					<a href="show_lib.php? actbig=3" rel="" name="winter dress" class="all on">不限</a>
					<a href="show_lib.php? act=21" rel="棉衣" name="mianyi" class="default">棉衣</a>
					<a href="show_lib.php? act=22" rel="羽绒服" name="yurongfu" class="default">羽绒服</a>
					<a href="show_lib.php? act=23" rel="毛衣" name="maoyi" class="default">毛衣</a>
					<a href="show_lib.php? act=24" rel="外套" name="waitao" class="default">外套</a>
					<a href="#show_lib.php? act=25" rel="休闲裤" name="xiuxianku" class="default">休闲裤</a>
					<a href="show_lib.php? act=26" rel="牛仔裤" name="niuzaiku" class="default">牛仔裤</a>
					<a href="show_lib.php? act=27" rel="加绒卫衣" name="jiarongweiyi" class="default">加绒卫衣</a>
					<a href="show_lib.php? act=28" rel="其他" name="qita" class="default">其他</a>
				</dd>
			</dl>

<!-- 鞋子 -->

			<dl class="index-list">
				<dt>鞋子</dt>
				<dd>
					<a href="show_lib.php? actbig=4" rel="" name="shoes" class="all on">不限</a>
					<a href="show_lib.php? act=31" rel="篮球鞋" name="lanqiuxie" class="default">篮球鞋</a>
					<a href="show_lib.php? act=32" rel="运动鞋" name="yundongxie" class="default">运动鞋</a>
					<a href="show_lib.php? act=33" rel="板鞋" name="banxie" class="default">板鞋</a>
					<a href="show_lib.php? act=34" rel="休闲鞋" name="xiuxianxie" class="default">休闲鞋</a>
					<a href="show_lib.php? act=35" rel="皮鞋" name="pixie" class="default">皮鞋</a>
					<a href="show_lib.php? act=36" rel="其他" name="qita" class="default">其他</a>
				</dd>
			</dl>


<!-- 运动装备 -->
			<dl class="index-list">
				<dt>运动装备</dt>
				<dd>
					<a href="show_lib.php? actbig=5" rel="" name="sports equipments" class="all on">不限</a>
					<a href="show_lib.php? act=41" rel="篮球类" name="lanqiulei" class="default">篮球类</a>
					<a href="show_lib.php? act=42" rel="足球类" name="zuqiulei" class="default">足球类</a>
					<a href="show_lib.php? act=43" rel="羽毛球类" name="yumaoqiulei" class="default">羽毛球类</a>
					<a href="show_lib.php? act=44" rel="网球类" name="wangqiulei" class="default">网球类</a>
					<a href="show_lib.php? act=45" rel="排球类" name="paiqiulei" class="default">排球类</a>
					<a href="show_lib.php? act=46" rel="乒乓球类" name="pingpangqiulei" class="default">乒乓球类</a>
					<a href="show_lib.php? act=47" rel="其他" name="qita" class="default">其他</a>
				</dd>
			</dl>
<!-- 其他 -->
			<dl class="index-list">
				<dt>其他</dt>
				<dd>
					<a href="show_lib.php? actbig=6" rel="" name="others" class="all on">不限</a>
					
					<a href="show_lib.php? act=51" rel="其他" name="qita" class="default">其他</a>
				</dd>
			</dl>
	</div>


	
</body>
</html>